Use only one `await` for each expected delay in async React Testing Library tests.
Local state updates are asynchronous. Re-renders can delay elements appearing in the DOM.
Long renders can delay elements appearing in the DOM.